package com.cipe.cmrs.model;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "changenotificationtype")
@SuppressWarnings("serial")
public class Changetype extends BaseAuditEntity {

	/**
	 * Attribute typename.
	 */
	private String typename;

	/**
	 * List of Actionaltertchangenotifications
	 */
	@OneToMany(mappedBy = "changetype")
	private List<Actionaltertchangenotifications> actionaltertchangenotificationss = null;

	/**
	 * @return typename
	 */
	public String getTypename() {
		return typename;
	}

	/**
	 * @param typename
	 *            new value for typename
	 */
	public void setTypename(String typename) {
		this.typename = typename;
	}

	/**
	 * Get the list of Actionaltertchangenotifications
	 */

	public List<Actionaltertchangenotifications> getActionaltertchangenotificationss() {
		return this.actionaltertchangenotificationss;
	}

	/**
	 * Set the list of Actionaltertchangenotifications
	 */
	public void setActionaltertchangenotificationss(
			List<Actionaltertchangenotifications> actionaltertchangenotificationss) {
		this.actionaltertchangenotificationss = actionaltertchangenotificationss;
	}

}